﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace StableDiffusionTools.Progress
{
    public delegate void UpdateEvent(object sender, UpdateEventArgs e);

    public class UpdateEventArgs : EventArgs
    {
        public TimeSpan Delta { get; private set; }
        public TimeSpan Elapsed { get; private set; }
        public UpdateEventArgs(TimeSpan delta, TimeSpan elapsed)
        {
            Delta = delta;
            Elapsed = elapsed;
        }
    }
}
